package com.wxzz.elearing.user.entity;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.TableField;
import com.wxzz.elearning.common.bean.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 企业改善
 * </p>
 *
 * @author
 * @since 2021-05-17
 */
@Data
@ApiModel(value = "EnterpriseImprove对象", description = "企业改善")
public class EnterpriseImprove extends BaseEntity {

    @ApiModelProperty(value = "改善标题")
    private String improveTitle;

    @ApiModelProperty(value = "改善前图片url")
    private String improveFront;

    @ApiModelProperty(value = "改善后图片url")
    private String improveBack;

    @ApiModelProperty(value = "负责人")
    private String principal;

    @ApiModelProperty(value = "参与人员")
    private String partInPerson;

    @ApiModelProperty(value = "问题描述")
    private String problemDescription;

    @ApiModelProperty(value = "改善措施")
    private String improvement;

    @ApiModelProperty(value = "改善成果")
    private String achievement;

    @ApiModelProperty(value = "节约金额 元/每年")
    private BigDecimal saveMoney;

    @ApiModelProperty(value = "企业id")
    private Long enterpriseId;

    @ApiModelProperty(value = "审批状态 0-待审核 1-已通过 2-未通过")
    private Integer status;

    @ApiModelProperty(value = "驳回理由")
    private String returnRemark;

    @ApiModelProperty(value = "用户id")
    private Long wxUserId;

    @ApiModelProperty(value = "改善类别id")
    private Long commonCategoryId;

    @ApiModelProperty(value = "部门id")
    private Long enterpriseOrganizationId;

    @TableField(exist = false)
    @ApiModelProperty(value = "部门名称")
    private String organizationName;

    @TableField(exist = false)
    @ApiModelProperty(value = "上一级部门名称")
    private String lastOrganizationName;

    @TableField(exist = false)
    @ApiModelProperty(value = "职位名称")
    private String identityName;

    @TableField(exist = false)
    @ApiModelProperty(value = "审核者的用户id")
    private Long checkWxUserId;

    @TableField(exist = false)
    @ApiModelProperty(value = "分类名称")
    private String categoryName;

    @TableField(exist = false)
    @ApiModelProperty(value = "电话")
    private String phone;

    @TableField(exist = false)
    @ApiModelProperty(value = "昵称")
    private String nickname;

    @TableField(exist = false)
    @ApiModelProperty(value = "头像")
    private String icon;

    @TableField(exist = false)
    @ApiModelProperty(value = "改善数量")
    private Integer improveNum;
}
